﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Threading;

namespace System.Windows.Media.DirectShow
{
    public interface IFilterGraph
    {
        IFiltersDictionary Filters
        {
            get;
        }

        Dispatcher Dispatcher { get; }

        void AddFilter(string name, IBaseFilter filter);

        void ConnectDirect(IPin pinOut, IPin pinIn, AMMediaType mediaType);

        void Disconnect(IPin pin);

        void RemoveFilter(IBaseFilter filter);

        void SetDefaultSyncSource();
    }
}
